file = open('D:/hello.txt', 'w')
strs = input("请输入文字：")
file.write(strs)
file.close()
